package net.luoran.dvm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import net.luoran.dvm.entity.UserContent;
import net.luoran.dvm.mapper.UserContentMapper;
import net.luoran.dvm.service.UserContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户 服务实现类
 * </p>
 *
 * @author MyBatisPlusGenerater
 * @since 2020-10-29
 */
@Service
public class UserContentServiceImpl extends ServiceImpl<UserContentMapper, UserContent> implements UserContentService {

    @Autowired
    UserContentMapper userContentMapper;

    @Override
    public UserContent getUserContent(Integer id) {
        return userContentMapper.getUserContent(id);
    }
}
